//
//  MAActionView.h
//  meiang_edu
//
//  Created by iloveko8e on 2018/9/14.
//  Copyright © 2018年 com.meiang.meiang_edu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ClickBlock)();

@interface MAActionView : UIView

@property (nonatomic, copy) ClickBlock clickBlock;

- (instancetype)initWithImageName:(NSString *)imageName title:(NSString *)title;

- (void)updateImageName:(NSString *)imageName title:(NSString *)title;

/**
 view size

 @return size
 */
- (CGSize)intrinsicContentSize;

@end
